2008-06-07 Tor Lillqvist <tml@novell.com>
Bug 536990 - updateiconcache.c: 'close ()' is redundant
* gtk/updateiconcache.c (build_cache): Drop redundant close()
calls. fclose() on a fdopen()ed strema closes the underlying file
descriptor.
svn path=/trunk/; revision=20327
+2008-06-07 Tor Lillqvist <tml@novell.com>
+
+ Bug 536990 - updateiconcache.c: 'close ()' is redundant
+
+ * gtk/updateiconcache.c (build_cache): Drop redundant close()
+ calls. fclose() on a fdopen()ed strema closes the underlying file
+ descriptor.
+
2008-06-06 Matthias Clasen <mclasen@redhat.com>
Bug 536757 – regression: openoffice.org menus are placed at wrong
/* Empty table, just close and remove the file */
fclose (cache);
- close (fd);
g_unlink (tmp_cache_path);
exit (0);
}
/* FIXME: Handle failure */
retval = write_file (cache, files, directories);
fclose (cache);
- close (fd);
g_list_foreach (directories, (GFunc)g_free, NULL);
g_list_free (directories);